package com.jintian.smart.kernel.core.annotation.flow;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface FlowEventTrigger {

	/**
	 * 如果为空，监听所有流程
	 * 
	 * @return
	 */
	String process() default "";

	/**
	 * 如果为空，监听所有环节
	 * 
	 * @return
	 */
	String activity() default "";

	FlowActionMoment[] actionMoment() default {};

}
